<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增员工</title>

    <!--layui-->
    <link rel="stylesheet" th:href="@{../static/layui/css/layui.css}">

    <!---->
    <link rel="stylesheet" th:href="@{../static/fonts/font-awesome/font-awesome.css}">
    <link rel="stylesheet" th:href="@{../static/styles/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{../static/styles/main.min.css}">
    <link rel="stylesheet" th:href="@{../../static/styles/staff/employeeAll.css}">
    <!--layui修改样式-->
    <link rel="stylesheet" th:href="@{../static/styles/layui-alter.css}">
    <script src="main.js"></script>

</head>
<body>
<div class="page-addEmp">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>新增员工</legend>
    </fieldset>

    <!--page页面-->
    <div class="page-wrap">

        <form method="post" id="intoEmp" class="layui-form">
            <table id="emp-page" border="1" >
                <tr>
                    <td>添加类型:</td>
                    <td>
                        <input type="radio" checked class="layui-unselect layui-form-radio layui-form-radioed"/><span class="emp-account">员工账号</span></td>
                    <td>
                        <i class="fa fa-angellist"></i>员工账号:
                    </td>
                    <td>
                        <input type="text" name="empAccount" lay-verify="required|isExist" lay-reqText="请输入员工账号" placeholder="手机号码注册" class="layui-input input-border input-m">
                    </td>
                    <td>账户密码:</td>
                    <td>
                        <input type="password" name="empPassword" lay-verify="required"  lay-reqText="请输入员工密码" class="layui-input input-border input-m"/>
                    </td>
                    <td>确认密码:</td>
                    <td>
                        <input type="password" lay-verify="required|confirmPass" lay-reqText="请输入确认密码" class="layui-input input-border input-m"/>
                    </td>
                    <td>账户状态:</td>
                    <td style="height: 40px;">
                        <div class="radio-normal">
                            <input type="radio" name="empAccountStatus" value="1" checked=""/>
                            <span style="position: relative;left: -30px;top:5px;">正常</span>
                            <input style="position: relative;left: -1000px;" type="radio" name="empAccountStatus" value="2"/>
                            <span style="position: relative;left: -30px;top:5px;">锁定</span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>员工姓名:</td>
                    <td>
                        <input type="text" name="empName" lay-verify="required" lay-reqText="请输入员工姓名" class="layui-input input-border input-m" id="form-control1"/>
                    </td>
                    <td>所属分站:</td>
                    <td>
                        <select class="select-sub" lay-verify="required"  lay-reqText="请选择分站" name="empSubstId" id="sub">
                            <option></option>
                        </select>
                    </td>
                    <td>员工手机:</td>
                    <td>
                        <input type="text" name="empTelephone" lay-verify="required" lay-reqText="请输入员工手机" class="layui-input input-border input-m"/>
                    </td>
                    <td>工号:</td>
                    <td>
                        <input type="text" name="empJobnumber" lay-verify="required" lay-reqText="请输入员工工号" class="layui-input input-border input-m"/>
                    </td>
                    <td>性别:</td>
                    <td>
                        <div class="redio-sex">
                            <input type="radio" name="empSex" value="男" checked="">
                            <span style="position: relative;left: -30px;top:5px;">男</span>
                            <input type="radio" name="empSex" value="女" />
                            <span style="position: relative;left: -30px;top:5px;">女</span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>部门:</td>
                    <td>
                        <input type="text" name="empDepartment" class="layui-input input-border input-m" id="form-control2"/>
                    </td>
                    <td>工序代码:</td>
                    <td>
                        <select class="select-sub" >
                            <option>请选择</option>
                            <option>工序一</option>
                            <option>工序二</option>
                        </select>
                    </td>
                    <td>工作岗位</td>
                    <td>
                        <input type="text" name="empWorkplace" class="layui-input input-border input-m">
                    </td>
                    <td>学历</td>
                    <td>
                        <input type="text" name="empEducation" class="layui-input input-border input-m">
                    </td>
                    <td>工资级别</td>
                    <td>
                        <input type="text" name="empSalary" lay-verify="required" lay-reqText="请输入员工工资" class="layui-input input-border input-m">
                    </td>
                </tr>
                <tr>
                    <td>家庭地址:</td>
                    <td>
                        <input type="text" name="empHomeAddress" lay-verify="required" lay-reqText="请输入家庭住址" class="layui-input input-border input-m" id="form-control3">
                    </td>
                    <td>家庭电话:</td>
                    <td>
                        <input type="text" name="empHomePhone" lay-verify="required" lay-reqText="请输入家庭电话" class="layui-input input-border input-m">
                    </td>
                    <td>身份证号:</td>
                    <td>
                        <input type="text" name="empIdnumber" class="layui-input input-border input-m">
                    </td>
                    <td>出生日期:</td>
                    <td>
                        <input type="date" name="empBirhdate" lay-verify="date" class="layui-input input-border input-m"/>
                    </td>
                    <td>加入时间:</td>
                    <td>
                        <input type="date" name="empJoindate" lay-verify="date" lay-reqText="请输入加入时间" class="layui-input input-border input-m"/>
                    </td>
                </tr>
                <tr>
                    <td>数据权限:</td>
                    <td colspan="9">
                        <div class="div-input">
                            <input type="radio" name="empDataAuth" value="1"/><span class="span-authority">公司级</span>
                            <input type="radio" name="empDataAuth" value="2"/><span class="span-authority">分站级</span>
                            <input type="radio" name="empDataAuth" checked="" value="3"/><span class="span-authority">个人级</span>
                        </div>
                    </td>
                </tr>

            </table>
        </form>
    </div>
</div>
</body>
<script src="../../layui/layui.js"></script>
<script src="../../static/scripts/main.js"></script>
<script src="../../static/scripts/staff/addemployee.js"></script>
<script src="../../static/scripts/js/jquery-2.2.1.js"></script>

</html>